package com.sun.filesigndemo.common.security.model;

import java.math.BigInteger;
import java.util.HashSet;
import java.util.Set;

public class User {
    private BigInteger id;

    private String name;

    private Set<Role> roles = new HashSet<Role>();

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<Role> getRoles() {
        return roles;
    }

    public void setRoles(Set<Role> roles) {
        this.roles = roles;
    }
}
